package com.itrip.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;


@Data
@TableName("itrip_label_dic")
public class ItripLabelDic {

  @TableId(type = IdType.AUTO)
  @TableField("id")
  private Long id; //主键
  @TableField("name")
  private String name; //key值
  @TableField("value")
  private String value; //value值
  @TableField("description")
  private String description; //描述
  @TableField("parentId")
  private Long parentId; //父级标签id(1级标签则为0)
  @TableField("pic")
  private String pic; //标签图片地址
  @TableField("creationDate")
  private Date creationDate; 
  @TableField("createdBy")
  private Long createdBy; 
  @TableField("modifyDate")
  private Date modifyDate; 
  @TableField("modifiedBy")
  private Long modifiedBy; 

}
